package org.keshproject.dms.dao.impl;

import org.hibernate.SessionFactory;
import org.keshproject.dms.dao.ICompanyInfoDao;
import org.keshproject.dms.pojo.CompanyInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class CompanyInfoDao extends GenericDao<CompanyInfo, Integer> implements
		ICompanyInfoDao {
	@Autowired
	public CompanyInfoDao(SessionFactory sessionFactory) {
		setSessionFactory(sessionFactory);
	}

	@Override
	public CompanyInfo getById(int companyInfoId) {
		return this.get(companyInfoId);
	}

}
